package com.wing.purchase.model.request;

import com.wing.purchase.model.entity.PurchaseSignForProduct;
import com.wing.purchase.model.entity.PurchaseWarehousingPlanProduct;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.wing.purchase.model.entity.PurchaseWarehousingPlan;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 采购入库计划Form
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class PurchaseWarehousingPlanForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 采购入库计划编号
     */
    private String planNo;

    /**
     * 供应商发货记录ID
     */
    private Long purchaseDeliveryRecordId;

    /**
     * 状态
     */
    private PurchaseWarehousingPlan.Status status;

    /**
     * 采购入库计划产品集合
     */
    private List<PurchaseWarehousingPlanProduct> purchaseWarehousingPlanProducts = new ArrayList<>();

    public interface Add {
    }

    public interface Update {
    }

    /**
     * 入库仓库类型
     */
    public Long warehouseType;

    /**
     * 入库仓库
     */
    public Long warehouse;
}
